package com.cosmoplat.xikai.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "设备故障管理", description = "用于表示系统中的设备故障管理")
@Data
public class DeviceFault {
    @ApiModelProperty(value = "设备编号", example = "EW000008")
    private String deviceCode;
    @ApiModelProperty(value = "设备状态", example = "0:离线 1:运行 2:待机 3:故障")
    private String deviceStatus;
    @ApiModelProperty(value = "故障代码", example = "DV256")
    private String faultCode;
    @ApiModelProperty(value = "故障名称", example = "风机报警")
    private String faultName;
    @ApiModelProperty(value = "故障描述", example = "没加油")
    private String faultDescription;
    @ApiModelProperty(value = "故障状态", example = "0未报警:1报警")
    private String faultStatus;
    @ApiModelProperty(value = "时间", example = "没加油")
    private Date dataTime;

}
